FROM wernight/phantomjs
RUN mkdir -p /usr/share/fonts 
ADD ./simsun.ttf /usr/share/fonts 
ENV LANG C.UTF-8
COPY printSource.js /
COPY echartsconvert-master /echartsconvert
ENTRYPOINT ["phantomjs", "/echartsconvert/echarts-convert.js","-s","-p","8080"]
#ENTRYPOINT ["phantomjs", "--webdriver=8080"]